package com.zzl.example.springboottest.util;

/**
 * @ClassName CharToIntUtil
 * @Description CharToInt
 * @Author Zengliang Zheng
 * @Date 2023/9/7 9:42
 * @Version 1.0
 */
public class CharToIntUtil {
    public static void main(String[] args) {
        charToInt();
    }
    public static void charToInt(){
        char a = 'a';
        System.out.println(a + 2);

        char b = 'a' + 2;
        System.out.println(b);
    }
}

    
